package com.hbxx.lotteryapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tonny
 * @since 2022-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "t_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "order_id", type = IdType.AUTO)
    private Long orderId;

    /**
     * 订单号
     */
    private String orderCode;

    private String openId;

    /**
     * 彩票类型 1 福彩3d 2 排列3 3 排列5
     */
    private Integer lotteryType;

    /**
     * 开奖期数
     */
    private String periods;

    /**
     * 投注内容
     */
    private String bettingContent;

    /**
     * 投注金额
     */
    private String bettingAmout;

    /**
     * 投注组数
     */
    private Integer bettingNumber;

    /**
     * 投注倍数
     */
    private Integer bettingMultiple;

    /**
     * 标识码
     */
    private String identificationCode;

    /**
     * 订单状态 0 未支付 1 已支付
     */
    private Integer status;

    private LocalDateTime payTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
